<?php include PATH_TPL."/admin/tpl.header.phtml"?>
<div class="main-container inner">
    <div class="main-content">
        <div class="container-fluid">
            <div class="row bt">
                <div class="col-lg-12 bg">
                    <ol class="breadcrumb">
                        <li class="active">
                        <i class="fa  fa-fw fa-reorder"></i><?=empty($title)?'':$title." &nbsp;&nbsp;培训的购买用户列表"?>
                        </li>
                    </ol>
                </div>
            </div>

            <div class="panel-body text-center">
                <table class="table table-hover" id="sample-table-1">
                    <thead>
                        <tr>
                            <td>编号</td>
                            <td>姓名</td>
                            <td>手机号</td>
                            <td>金额(单位:元)</td>
                            <td>支付方式</td>
                            <td>购买时间</td>
                        </tr>
                    </thead>
                    <?foreach($tDatas as $tRow){?>
                    <tr>
                        <td><?=$tRow['id']?></td>
                        <td><?=$tRow['name']?></td>
                        <td><?=$tRow['phone']?></td>
                        <td><?=$tRow['cost']?></td>
                        <td><?=empty($tRow['paytype'])?'支付宝':'微信'?></td>
                        <td><?=date('Y-m-d H:i:s',$tRow['created'])?></td>
                    </tr>
                    <?}?>
                </table>
                <?=$tShow?>
            </div>
        </div>
        <div class="subviews">
            <div class="subviews-container"></div>
        </div>
    </div>
    <!-- end: PAGE -->
</div>

</script>
<?php include PATH_TPL."/admin/tpl.footer.phtml"?>
